package com.theo.mapper;

import com.theo.entity.VaccineInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 方涛
 * @since 2021-02-02
 */
@Repository
public interface VaccineInfoMapper extends BaseMapper<VaccineInfo> {

    int saveVaccineInfo(VaccineInfo vaccineInfo);

    int deleteVaccineInfo(Integer id);

    int updateVaccineInfo(Integer id);

    List<VaccineInfo> queryAllVaccineInfo();

    VaccineInfo queryVaccineInfoById(Integer id);
}
